<template>
    <div>
        <van-search v-model="value" show-action label="地址" placeholder="请输入搜索关键词" @search="onSearch">
            <template #action>
                <div @click="onClickButton"><van-button square type="primary"  size="small"color="#fce42a" style="color: black;">打开App</van-button></div>
            </template>
              <template #left>
               <div><img src="../img/首页pp_03.jpg" alt=""><span>懂车帝</span></div>
            </template>
        </van-search>

        <Tab></Tab>
    </div>
</template>

<script setup>
import Tab from '@/components/Tab.vue';
</script>

<style lang="scss" scoped>

</style>